package com.mbyte.easy.admin.mapper;

import com.mbyte.easy.admin.entity.Check;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 审核记录表 Mapper 接口
 * </p>
 *
 * @author lp
 * @since 2019-12-13
 */
public interface CheckMapper extends BaseMapper<Check> {


    List<Check> getCheckById(Long draft_id);

    List<Check> selectByUserId(Long user_id);
    List<Check> getChecksByIdUnPass(Long user_id);


    List<Check> getChecksByIdPass(Long id);

    boolean updateByDraftId(Check check);
}
